package com.example.demo.design.demo06_decorator;

/**
 * Created by 蔡超 on 2018/10/1.
 */
public class Person {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Person(String name) {
        this.name = name;
    }

    public Person() {
    }

    public  void show(){
        System.out.println(" 装扮的 " + name);
    }
}
